home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / games2 / rotise12.zip / MAKEFILE.BCC < prev    next >
Text File  |  1993-03-28  |  2KB  |  71 lines

  1. # Makefile for Turboc/Borland C
  2. #  Copy this to 'makefile' and then just type 'make'
  3.  
  4. # Where is the Turbo/Borland C compiler and support files
  5. BCCDIR=d:\bc
  6.  
  7. # Name of compiler
  8. CC= bcc
  9. LD= tlink
  10.  
  11. INCDIRS=-I. -I$(BCCDIR)\include
  12. LIBDIRS=-L. -L$(BCCDIR)\lib
  13.  
  14. # Debugging flags vs. optimizing flags
  15. DBGFLGS= -Od -v -2
  16. RELFLGS= -O2 -2
  17.  
  18. CFLAGS=-w-pro -w-par -ml -DUSE_PROTOS -DHAVE_STRICMP -DHAVE_STRSTR -D__ANSI__ $(RELFLGS)
  19. LDFLAGS=
  20.  
  21. .c.obj :
  22.     $(CC) -c $*.c
  23.  
  24. DEST    = .                # Where to put executable
  25.  
  26. HDRS    = avl.h bb.h bb_pdb.h portab.h proto.h rdb.h \
  27.       rotise.h
  28. OBJS    = avl.obj bb_pdb.obj cmdtable.obj misc.obj \
  29.       rdb_play.obj realp.obj report.obj roster.obj rotise.obj \
  30.       standing.obj stenog.obj string.obj transact.obj getopt.obj
  31. PROGRAM    = rotise.exe
  32. SRCS    = avl.c bb_pdb.c cmdtable.c misc.c rdb_play.c \
  33.       realp.c report.c roster.c rotise.c standing.c stenog.c \
  34.       string.c transact.c
  35.  
  36.  
  37. $(PROGRAM):     turboc.cfg $(OBJS)
  38.         $(CC) -erotise $(LDFLAGS) *.obj
  39.  
  40. # Make the command file for the compiler
  41. turboc.cfg : makefile
  42.     echo $(CFLAGS) >turboc.cfg
  43.     echo $(INCDIRS) >>turboc.cfg
  44.     echo $(LIBDIRS) >>turboc.cfg
  45.  
  46. avl.obj: avl.h
  47.  
  48. bb_pdb.obj: avl.h bb.h bb_pdb.h portab.h rdb.h rotise.h
  49.  
  50. cmdtable.obj: bb_pdb.h portab.h rdb.h rotise.h
  51.  
  52. misc.obj: bb.h bb_pdb.h portab.h rdb.h rotise.h
  53.  
  54. rdb_play.obj: bb_pdb.h portab.h rdb.h rotise.h
  55.  
  56. realp.obj: bb_pdb.h portab.h rdb.h rotise.h
  57.  
  58. report.obj: bb_pdb.h portab.h rdb.h rotise.h
  59.  
  60. roster.obj: bb_pdb.h portab.h rdb.h rotise.h
  61.  
  62. rotise.obj: bb_pdb.h portab.h rdb.h rotise.h
  63.  
  64. standing.obj: bb_pdb.h portab.h rdb.h rotise.h
  65.  
  66. stenog.obj: bb_pdb.h portab.h rdb.h rotise.h
  67.  
  68. string.obj: bb_pdb.h portab.h rdb.h rotise.h
  69.  
  70. transact.obj: bb_pdb.h portab.h rdb.h rotise.h
  71.